import React from 'react';
import { Route, HashRouter as Router, Routes } from 'react-router-dom';
import { Login } from './page/Login';
import { Flex } from 'antd';
import { Home } from './page/Home';


function App() {

  return (
    <>
      <Router>
        <Flex vertical={true} align={'start'}>
          <Routes>
            <Route path='/' element={<Login />} />
            <Route path='/home/*' element={<Home />} />
          </Routes>
        </Flex>
      </Router>
    </>

  );
}

export default App;
